$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'test/unit'
require 'engine'
require 'testcasedoc'

module LWA
  class EngineTest < Test::Unit::TestCase
    $engine = Engine.new
    $engine.close_browser_when_finished = false

    def test_01_type_in_Google_search
      $engine.process_testcase(TestCaseDoc.new("sample_testcase.xml").get_case(7))
    end

    def test_02_type_in_notepad
      $engine.process_testcase(TestCaseDoc.new("sample_testcase.xml").get_case(8))
    end

  end
end